package cn.skyisazure.metacompare.metaVo;

import lombok.Getter;

@Getter
public enum SystemColumnTypeEnum {
    NONE(0, "none"),
    PRIMARY_KEY(1, "isPrimaryKey"),
    CREATE_USER(2, "isCreateUser"),
    UPDATE_USER(3, "isUpdateUser"),
    CREATE_DATE(4, "isCreateDate"),
    UPDATE_DATE(5, "isUpdateDate"),
    DELETE_DATE(6, "isDeleteDate"),
    DELETE_USER(7, "isDeleteUser"),
    DELETE_FLAG(8, "isDeleteFlag"),
    ;

    /** code */
    private final Integer code;
    /** 字段key名 */
    private final String key;

    SystemColumnTypeEnum(Integer code, String key) {
        this.code = code;
        this.key = key;
    }
}
